import request from 'axios'

export function getPage(page = 1, pageSize = 8, options = {}) {
  return request({
    url: 'api/page',
    params: {
      page,
      pageSize,
      ...options
    }
  })
}
